Skip to content

Refactor conditions for preview release triggers - #2550

Merged
UnschooledGamer merged 5 commits into
mainfrom
UnschooledGamer-patch-1
Jul 31, 2026
Merged

Refactor conditions for preview release triggers#2550
UnschooledGamer merged 5 commits into
mainfrom
UnschooledGamer-patch-1

Conversation

@UnschooledGamer

Copy link
Copy Markdown
Collaborator

Clarifies PR workflow execution and approval process,
adds allow-unsafe-pr-checkout to nightly-build checkouts when running from PR context.

Formats conditions for preview release triggers.

@UnschooledGamer UnschooledGamer self-assigned this Jul 28, 2026
@UnschooledGamer
UnschooledGamer added this pull request to the merge queue Jul 28, 2026
@UnschooledGamer
UnschooledGamer removed this pull request from the merge queue due to a manual request Jul 28, 2026
Comment thread .github/workflows/on-demand-preview-releases-PR.yml Outdated
@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR refines preview-release trigger conditions and explicitly permits PR-head checkout in the reusable nightly build.

  • Handles bypass-label checks through the pull request’s label collection during synchronize events.
  • Restricts the standard preview label check to labeled events.
  • Documents the approval requirement before executing PR code.
  • Enables allow-unsafe-pr-checkout when the nightly workflow runs in PR context.

Confidence Score: 5/5

The PR appears safe to merge.

The previously reported synchronize-event label lookup is corrected by checking the pull request’s labels, and no blocking failure remains.

Important Files Changed

Filename Overview
.github/workflows/on-demand-preview-releases-PR.yml Refactors event-specific label conditions and correctly checks the bypass label from the pull request payload on synchronize events.
.github/workflows/nightly-build.yml Documents PR-code approval expectations and enables explicitly approved PR-head checkout for PR builds.

Reviews (3): Last reviewed commit: "Update .github/workflows/on-demand-previ..." | Re-trigger Greptile

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@UnschooledGamer

This comment was marked as resolved.

1 similar comment
@UnschooledGamer

This comment was marked as resolved.

@UnschooledGamer
UnschooledGamer requested a review from a team July 28, 2026 16:50
@UnschooledGamer
UnschooledGamer added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 17f6ad4 Jul 31, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Jul 31, 2026
@UnschooledGamer
UnschooledGamer deleted the UnschooledGamer-patch-1 branch July 31, 2026 03:52
@UnschooledGamer UnschooledGamer moved this from Done to 🫡 Done by Community in The Code Board - Acode Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🫡 Done by Community

Development

Successfully merging this pull request may close these issues.

2 participants